<template>
    <div class="wrap">
        <div class="logo">
            <img src="../images/mainOne/logo.jpg"></img>
        </div>
        
            <div class="name">
                <img src="../images/mainOne/login/01.png"></img>
                <input placeholder="12523424823"/>
            </div>

            <div class="psd">
                 <img src="../images/mainOne/login/02.png"></img>
                <input placeholder="密码"/>
            </div>
            
            <button class="btn" v-on:click="login">
                <router-link to="/index">
                    登&nbsp;&nbsp;&nbsp;&nbsp;陆 
                </router-link>
            </button>
    </div>
</template>

<script>
export default {
  name: 'login',
  methods:{
      login:function(){
        //   console.log(111)
      }
  }
}
</script>

<style scoped lang="less">
  .logo{
    margin-top: 180/75rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
    .name, .psd, .btn{
        height: 46/75rem;
        width: 566/75rem;
        position: absolute;
        margin-top: 500/75rem;
        left: 50%;
        transform: translateX(-50%);
        input{
            display: block;
            float: right;
            border: none;
            outline: none;
            width: 495/75rem;
            height: 45/75rem;
            border-bottom: 1px solid #a6a6a6;
            font-size: 30/75rem;
            text-indent: 15px;
            letter-spacing: 2px;


        }
        img{
            position: absolute;
        }
    }
    .psd{
        margin-top: 630/75rem;
    }
    .btn{
        margin-top:800/75rem;
        height: 80/75rem;
        border: none;
        outline: none;
        background: #ff406f;
        font-size: 34/75rem;
        color: #FFF;
        border-radius: 20px;
        a{
            color:#fff;
        }
       
    }
</style>
